<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">


<!-- Mirrored from www.zi-han.net/theme/hplus/form_builder.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:19 GMT -->
<head>

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />


<title>厚合尚品商城管理后台</title>

<link rel="shortcut icon" href="favicon.ico" />

<link href="mng/css/bootstrap.min14ed.css?v=3.3.6"
	th:href="@{/mng/css/bootstrap.min14ed.css?v=3.3.6}" rel="stylesheet" />
<link href="mng/css/font-awesome.min93e3.css?v=4.4.0"
	th:href="@{/mng/css/font-awesome.min93e3.css?v=4.4.0}" rel="stylesheet" />
<!-- Data Tables -->
<link href="mng/css/plugins/dataTables/dataTables.bootstrap.css"
	th:href="@{/mng/css/plugins/dataTables/dataTables.bootstrap.css}"
	rel="stylesheet" />

<link href="mng/css/animate.min.css"
	th:href="@{/mng/css/animate.min.css}" rel="stylesheet" />
<link href="mng/css/style.min862f.css?v=4.1.0"
	th:href="@{/mng/css/style.min862f.css?v=4.1.0}" rel="stylesheet" />


</head>

<body class="gray-bg">
	<div class="panel-body" style="padding-bottom: 0px;">
		<div class="panel panel-default">
			<div class="panel-heading">查询条件</div>
			<div class="panel-body">
				<form id="formSearch" class="form-horizontal"
					th:action="@{/sales/returnOrder}" method="post">
					<div class="form-group" style="margin-top: 15px">
						<label class="control-label col-sm-1"
							for="txt_search_departmentname">会员编号</label>
						<div class="col-sm-3">
							<input type="text" name="memberId" class="form-control"
								id="txt_search_departmentname" />
						</div>
						<label class="control-label col-sm-1" for="txt_search_statu">订单编号</label>
						<div class="col-sm-3">
							<input type="text" name="orderId" class="form-control"
								id="txt_search_statu" />
						</div>
						<div class="col-sm-4" style="text-align: left;">
							<button type="submit" style="margin-left: 50px" id="btn_query"
								class="btn btn-primary">查询</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>

	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<table class="table table-striped table-hover dataTables-example">
							<thead>
								<tr>
									<th>序号</th>
									<th>会员编号</th>
									<th>订单编号</th>
									<th>退货的金额</th>
									<th>退货积分</th>
									<th>银行名称</th>
									<th>帐户名</th>
									<th>卡号</th>
									<th>退货状态</th>
									<th>退货时间</th>
									<th>退货原因</th>
									<th>物流单号</th>
								</tr>
							</thead>
							<tbody>
								<tr th:each="returnFanchang : ${returnFanchangs}">
									<td th:text="${returnFanchang.id}"></td>
									<td th:text="${returnFanchang.memberId}"></td>
									<td th:text="${returnFanchang.orderId}"></td>
									<td th:text="${returnFanchang.transAmt}"></td>
									<td th:text="${returnFanchang.salesReturnBonus}"></td>
									<td th:text="${returnFanchang.bankName}"></td>
									<td th:text="${returnFanchang.username}"></td>
									<td th:text="${returnFanchang.cardNumber}"></td>
									<td th:if="${returnFanchang.salesReturnStatus==1}">退货中</td>
									<td th:if="${returnFanchang.salesReturnStatus==2}">退货完成</td>
									 <td th:if="${returnFanchang.salesReturnTime!=null}" th:text="${#dates.format(returnFanchang.salesReturnTime, 'yyyy-MM-dd HH:mm:ss')}"></td> 
								  <td th:if="${returnFanchang.salesReturnTime==null}"  th:text="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd hh:mm:ss')}"></td> 
									<td th:text="${returnFanchang.returnToDescribe}"></td>
									<td th:text="${returnFanchang.salesReturnTrackingNumber}"></td>
									
									<!-- <td th:if="${returnFanchang.}">退货完成</td> -->
								<!-- 	<td th:text="${returnFanchang.returnToDescribe}"></td> -->
									<!-- <td><a th:href="@{/order/detail(oid=${orderInfo.orderId})}">详情</a>
									 / <a  th:if="${orderInfo.transferStatus == 0 and orderInfo.orderStatus == 2}" th:href="@{/order/detail(oid=${orderInfo.orderId})}">处理</a></td> -->
								</tr>

							</tbody>

						</table>

					</div>
				</div>
			</div>
		</div>

	</div>
	<script src="mng/js/jquery.min.js?v=2.1.4"
		th:src="@{/mng/js/jquery.min.js?v=2.1.4}"></script>
	<script src="mng/js/bootstrap.min.js?v=3.3.6"
		th:src="@{/mng/js/bootstrap.min.js?v=3.3.6}"></script>
	<script src="mng/js/plugins/dataTables/jquery.dataTables.js"
		th:src="@{/mng/js/plugins/dataTables/jquery.dataTables.js}"></script>
	<script src="mng/js/plugins/dataTables/dataTables.bootstrap.js"
		th:src="@{/mng/js/plugins/dataTables/dataTables.bootstrap.js}"></script>
	<script src="mng/js/content.min.js?v=1.0.0"
		th:src="@{/mng/js/content.min.js?v=1.0.0}"></script>

	<!-- <script src="mng/js/plugins/bootstrap-table/bootstrap-table.min.js"
			th:src="@{/mng/js/plugins/bootstrap-table/bootstrap-table.min.js}"></script>
		<script
			src="mng/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"
			th:src="@{/mng/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js}"></script>
		<script
			src="mng/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"
			th:src="@{/mng/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}"></script>
		<script src="mng/js/demo/bootstrap-table-demo.min.js"
			th:src="@{/mng/js/demo/bootstrap-table-demo.min.js}"></script> -->

	<script>
		$(document).ready(function() {
			$(".dataTables-example").dataTable({
				"bPaginate" : true, //翻页功能
				"bLengthChange" : false, //改变每页显示数据数量
				"bFilter" : false, //过滤功能
				"bSort" : false, //排序功能
				"bInfo" : true,//页脚信息
				"bAutoWidth" : true
			//自动宽度
			});
		});
	</script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/table_data_tables.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:02 GMT -->
</html>
